package xianchengpool;

import java.util.concurrent.Executor;

/**
 * @功能
 * @创建时间 2019/12/26
 */
public class T01_MyExecutor implements Executor {
    public static void main(String[] args) {
        new T01_MyExecutor().execute(()->System.out.println("hello"));
    }
    @Override
    public void execute(Runnable command) {
      //  new Thread(command).run();
        command.run();
    }
}
